#region "DevelopmentLibraryFileVersion"

/*
 * ####     Developer Name : Wang Yucai
 * 
 * ####     Development Tool : Microsoft VisualStudio 2010 Ultimate Edition
 * 
 * ####     Create Time : 2014-07-09 10:33:04
 * 
 * ####     Namespace : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments
 * 
 * ####     Type Name : DevelopmentLibraryFileVersion
 * 
 * ####     Full Name : Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments.DevelopmentLibraryFileVersion
 * 
 * ####     Machine Name : GLCHQWYCWINW7
 * 
 * ####     UserName : GUOCOLAND/wangyucai
 * 
 * ####     CLR Version : 4.0.30319.18444
 * 
 * ####     Target Framework Version : 4.0
 */

#endregion

using System;
using System.Diagnostics;

namespace Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments
{
    /// <summary>
    /// <para>Masterduner.SourceStudio.Practices.DevelopmentLibrary.Environments.DevelopmentLibraryFileVersion</para>
    /// <para>
    /// 提供了获取开发库文件版本号的方法。
    /// </para>
    /// </summary>
    /// <remarks>
    /// <para>Target Framework Version : 4.0</para>
    /// <para>此类不可继承。</para>
    /// </remarks>
    [Serializable]
    public sealed class DevelopmentLibraryFileVersion : VersionString
    {
        #region Constructor

        /// <summary>
        /// <para>构造函数：</para>
        /// <para>初始化一个<see cref="DevelopmentLibraryFileVersion" />对象实例。</para>
        /// </summary>
        internal DevelopmentLibraryFileVersion()
        {
            try
            {
                base.Version = FileVersionInfo.GetVersionInfo(typeof(DevelopmentLibraryFileVersion).Assembly.Location).FileVersion;
            }
            catch
            {
                base.Version = new DevelopmentLibraryVersion().Version;
            }
        }

        #endregion
    }
}

#region README

/*
 * ####     ©2014 Wang Yucai
 * 
 * ####     Contact me
 *                  
 *                  E-mail : Masterduner@Yeah.net
 *                  Mobile : 13621384677
 *                  QQ : 180261899
 */

#endregion